<?php /* Smarty version 2.6.14, created on 2009-09-22 01:34:47
         compiled from rbac_index.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 <?php echo $this->_tpl_vars['sPageType']; ?>
//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-<?php echo $this->_tpl_vars['sPageType']; ?>
.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['sPageCharSet']; ?>
" />
<title><?php echo $this->_tpl_vars['sModuleName']; ?>
-<?php echo $this->_tpl_vars['sPageName']; ?>
</title>
<link href="themes/default/rbac/style.css" rel="stylesheet" type="text/css" />
<link href="themes/default/rbac/table.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table class="table_gray" cellpadding="1">
    <caption>
    <?php echo $this->_tpl_vars['sTableName']['name']; ?>

    </caption>
    <thead>
        <th width="40" scope="col"><?php echo $this->_tpl_vars['sTableName']['column']['iDepartmentId']; ?>
</th>
        <th width="100" scope="col"><?php echo $this->_tpl_vars['sTableName']['column']['sDepartmentName']; ?>
</th>
        <th width="100" scope="col"><?php echo $this->_tpl_vars['sTableName']['column']['sDepartmentParent']; ?>
</th>
        <th scope="col"><?php echo $this->_tpl_vars['sTableName']['column']['sDepartmentDirection']; ?>
</th>
        <th width="100" scope="col"><?php echo $this->_tpl_vars['sTableName']['column']['sControl']; ?>
</th>
    </thead>
    <tbody id="tbodySample">
<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['contact']):
?>


        <tr>
            <td><?php echo $this->_tpl_vars['contact']['iDepartment_Id']; ?>
</td>
            <td><?php echo $this->_tpl_vars['contact']['sDepartment_Name']; ?>
</td>
            <td><?php echo $this->_tpl_vars['contact']['sDepartment_Parent']; ?>
</td>
            <td><?php echo $this->_tpl_vars['contact']['sDepartment_Direction']; ?>
</td>
            <td> <?php echo $this->_tpl_vars['sTableName']['menu']['edit']; ?>
 <?php echo $this->_tpl_vars['sTableName']['menu']['view']; ?>
 <?php echo $this->_tpl_vars['sTableName']['menu']['delete']; ?>
</td>
        </tr>

<?php endforeach; endif; unset($_from); ?>

    </tbody>
</table>
</body>
</html>